/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: nu uc
 * License Type: Evaluation
 */
package org.testis.orm.classes;

import org.hibernate.Criteria;
import org.orm.PersistentException;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class T_test_labelpairsCriteria extends AbstractORMCriteria {
    public final IntegerExpression id;
    public final IntegerExpression labelId;

    public T_test_labelpairsCriteria(Criteria criteria) {
	super(criteria);
	id = new IntegerExpression("id", this);
	labelId = new IntegerExpression("labelId", this);
    }

    public T_test_labelpairsCriteria(PersistentSession session) {
	this(session.createCriteria(T_test_labelpairs.class));
    }

    public T_test_labelpairsCriteria() throws PersistentException {
	this(org.testis.orm.manager.TestisDbPersistentManager.instance()
		.getSession());
    }

    public T_test_stepcontainerCriteria createTestCaseCriteria() {
	return new T_test_stepcontainerCriteria(createCriteria("TestCase"));
    }

    public T_test_teststepsCriteria createTestStepCriteria() {
	return new T_test_teststepsCriteria(createCriteria("TestStep"));
    }

    public T_test_dataobjectCriteria createDataObjectCriteria() {
	return new T_test_dataobjectCriteria(createCriteria("DataObject"));
    }

    public T_test_labelpairs uniqueT_test_labelpairs() {
	return (T_test_labelpairs) super.uniqueResult();
    }

    public T_test_labelpairs[] listT_test_labelpairs() {
	java.util.List list = super.list();
	return (T_test_labelpairs[]) list.toArray(new T_test_labelpairs[list
		.size()]);
    }
}
